<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<title>df602</title>

<style type="text/css" media="all">
	@import "../css/home.css";
</style>

<script src="../javascripts/prototype.js" type="text/javascript"></script>
<script src="../javascripts/scriptaculous.js" type="text/javascript"></script>
<script src="../javascripts/checkForm.js" type="text/javascript"></script>
<script src="../javascripts/submitForm.js" type="text/javascript"></script>
<script>
	// CREATE var for index PeriodicalUpdater obj
	var refresher = '';
</script>
</head>


<body>

<div id='topContainer'>
	<h1><span>df602</span></h1>
	
	<div id='navigate'>
		<?php echo $navigater; ?>
	</div>
	
	<a id='addBt' alt='Add new Server' acronym='Add new Server' onClick="if(refresher!= '') refresher.stop(); new Ajax.Updater($('rightContainer'), './client/addClientForm'); new Ajax.Updater($('navigate'), './home/rewriteNavigater', {parameters: { url: './client/addClientForm', name: 'Add New Client', layer: 1}}); ">
	</a>
	
	<?php 
		if($this->session->userdata('login'))
		{
			echo "<a id='logOut' ";
			echo "onClick='new Ajax.Updater($(\"rightContainer\"), \"./login/logOut\"); setTimeout(\"location.reload(true)\",1000);'";
			echo "></a>";
		}
	?>
</div>

<div id='leftContainer'>
<div id='content'>
</div>
</div>

<div id='rightContainer'>
</div>
	

	
<div id='bottomContainer'>
	<div id='content'>CPE Kasetsart University</div>
	
</div>


</body>

<script>
	// CREATE var for index PeriodicalUpdater obj
	new Ajax.Updater($('rightContainer'), "./home/listAllClientHD");
	new Ajax.Updater($('content'), "./home/listAllClient");
</script>

